package com.example.picturestorage.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class User {
    private Integer id;
    private String username;
    private String password;
    private Role role;

    {
        System.out.println(this);
    } 

    public static void main(String[] args) {
        System.out.println(new User().setId(1).setPassword("11"));
    }
}
